package com.shangqing.system.windinfomation.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.shangqing.system.droughtinformation.entity.City;
import com.shangqing.system.droughtinformation.entity.DroughtGrade;
import com.shangqing.system.droughtinformation.entity.DroughtWarning;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@ApiModel(value = "大风灾情信息", description = "")
public class Windinformation {
    /**
     * 干旱灾情信息ID
     */
    @ApiModelProperty(value = "ID")
    private int id;
    /**
     * 大风灾情信发生位置
     */
    @ApiModelProperty(value = "大风灾情信发生位置")
    private int locationid;
    /**
     * 大风灾情发生时间
     */
    @ApiModelProperty(value = "大风灾情发生时间 ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timeofoccurrence;
    /**
     * 大风灾情发生经度
     */
    @ApiModelProperty(value = "大风灾情发生经度")
    private Double longitude;
    /**
     * 大风灾情发生纬度
     */
    @ApiModelProperty(value = "大风灾情发生纬度 ")
    private Double latitude;
    /**
     * 大风灾情威胁范围
     */
    @ApiModelProperty(value = "大风灾情威胁范围")
    private String threatrange;
    /**
     * 大风灾情等级
     */
    @ApiModelProperty(value = "大风灾情等级")
    private int windgradeid;
    /**
     * 大风灾情设备损坏情况
     */
    @ApiModelProperty(value = "大风灾情设备损坏情况")
    private String equipmentdamage;
    /**
     * 大风灾情威胁人口
     */
    @ApiModelProperty(value = "大风灾情威胁人口")
    private String threatspopulation;
    /**
     * 大风灾情威胁财产
     */
    @ApiModelProperty(value = "大风灾情威胁财产")
    private String threatproperty;
    /**
     * 大风灾情预警等级id
     */
    @ApiModelProperty(value = "大风灾情预警等级id")
    private int windwarninglevelid;
    /**
     * 大风灾情等级
     */
    @ApiModelProperty(value = "大风灾情等级")
    private WindGrade windGrade;
    /**
     * 大风灾情预警等级
     */
    @ApiModelProperty(value = "大风灾情预警等级")
    private  WindWarning windWarning;
    /**
     * 大风灾情预警地点
     */
    @ApiModelProperty(value = "大风灾情预警地点")
    private City city;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLocationid() {
        return locationid;
    }

    public void setLocationid(int locationid) {
        this.locationid = locationid;
    }

    public Date getTimeofoccurrence() {
        return timeofoccurrence;
    }

    public void setTimeofoccurrence(Date timeofoccurrence) {
        this.timeofoccurrence = timeofoccurrence;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getThreatrange() {
        return threatrange;
    }

    public void setThreatrange(String threatrange) {
        this.threatrange = threatrange;
    }

    public int getWindgradeid() {
        return windgradeid;
    }

    public void setWindgradeid(int windgradeid) {
        this.windgradeid = windgradeid;
    }

    public String getEquipmentdamage() {
        return equipmentdamage;
    }

    public void setEquipmentdamage(String equipmentdamage) {
        this.equipmentdamage = equipmentdamage;
    }

    public String getThreatspopulation() {
        return threatspopulation;
    }

    public void setThreatspopulation(String threatspopulation) {
        this.threatspopulation = threatspopulation;
    }

    public String getThreatproperty() {
        return threatproperty;
    }

    public void setThreatproperty(String threatproperty) {
        this.threatproperty = threatproperty;
    }

    public int getWindwarninglevelid() {
        return windwarninglevelid;
    }

    public void setWindwarninglevelid(int windwarninglevelid) {
        this.windwarninglevelid = windwarninglevelid;
    }

    public WindGrade getWindGrade() {
        return windGrade;
    }

    public void setWindGrade(WindGrade windGrade) {
        this.windGrade = windGrade;
    }

    public WindWarning getWindWarning() {
        return windWarning;
    }

    public void setWindWarning(WindWarning windWarning) {
        this.windWarning = windWarning;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }
}
